#include "dzp.h"

sbit Key1=P0^1;

unsigned char i=0;




void main(void)
{ 
	P5M0=0;
	P5M1=0;

	while(1)
	{
		DZP1(i);
		
	
	  if(Key1==0)			
		{
			DelayMS(20);	
			while(Key1==0);	
			DelayMS(20); 
			i=i+3;
      if(i==9)
      {
				i=0;
			}
		}
    
   }
   
}









